package com.MoCh.InterfaceDemo1;

public class TestComputer {
    public static void main(String[] args) {
        Computer computer1 = new Computer();
        computer1.powerOpen();
        computer1.useDevice(new Mouse());
        computer1.useDevice(new Keyboard());
        computer1.powerOff();
    }

}
